package Day07;

public class Frog extends Animal implements  swim {

    public Frog(String name, String age) {
        super(name, age);
    }

    public Frog() {
    }


    @Override
    public void eat() {
        System.out.println("青蛙吃虫子");
    }

    @Override
    public void swim() {
        System.out.println("蛙泳");

    }
}
